package com.goktech.service.imp;

import com.goktech.entity.informType;
import com.goktech.mapper.InformTypeMapper;
import com.goktech.service.InformTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("InformTypeService")
public class informTypeServiceImp implements InformTypeService {

    @Autowired
    private InformTypeMapper informTypeMapper;

    @Override
    public List<informType> findAll() {
        return informTypeMapper.findByAll();
    }
}
